<div id="photogallery">
          <h3>Naposledy přidané fotogalerie</h3>
            <div class="wrap">
              
              {foreach $gallery as $g}
	              <a href="{$g["link"]}" title=" {$g["title"]}">
	              <img src="upload/{$g["main"]["path"]}{$g["main"]["th_name"]}" title=" {$g["title"]}" alt=" {$g["title"]}" width="110" height="71" /></a>
              {/foreach}
              
              {*<span class="handleLeft"></span>
              <span class="handleRight"></span>*}
              
            </div>
          </div>

{*<h2 id="gallery">Galerie<span></span></h2>
            
            {foreach $gallery as $g}
	           {if $iterator->isFirst()} <a href="{$g["link"]}" title="{$g["title"]}" class="image first">
	                <img src="upload/{$g["mainPhoto"]["path"]}{$g["mainPhoto"]["th_name"]}" width="216" height="84" />
	                {$g["title"]}
	                <span></span>
	              </a>
	              <hr class="hr-content" />
	           {else}   
	            
	            <a href="{$g["link"]}" title="{$g["title"]}">{$g["title"]}</a>
	            <hr class="hr-content" />
	            {/if}
			{/foreach}
            
            <a class="yellow" href="{$gallery_link}" title="Zobrazit celou galerii">celá galerie</a>*}